import { createRouter, createWebHistory } from 'vue-router'
import completed from '@/views/completed'
import undone from '@/views/undone'

const history = createWebHistory()

const router = createRouter({
  history,
  routes: [
    {
      path: '/',
      name: 'undone',
      component: undone
    },
    {
      path: '/completed',
      name: 'completed',
      component: completed
    }
  ]
})

export default router
